package com.yunshang.ysmall.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yunshang.ysmall.mapper.UserInfoMapper;
import com.yunshang.ysmall.model.UserInfo;
import com.yunshang.ysmall.service.UserInfoService;

@Service
public class UserInfoServiceImpl implements UserInfoService {
	
	@Resource
	UserInfoMapper userInfoMapper;

	@Override
	public UserInfo selectByNameAndPwd(String username, String password) {
		// TODO Auto-generated method stub
		System.out.println(username + "|" + password);
		return userInfoMapper.selectByNameAndPwd(username, password);
	}

}
